home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Prog / A / Alpha.5.05.cpt / Help / Shells < prev    next >
MacBinary  |  1992-08-29  |  2.6 KB  |  [TEXT/ALFA]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Shells

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sat Aug 29 12:44:11 1992, modified Sat Aug 29 12:44:11 1992, creator Alpha editor, type ASCII, 2006 bytes "Shells" , at 0x856 464 bytes resource default (weak)
99% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID TTComp archive compressed (bin-4K) default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ALFA]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 53 68 65 6c 6c 73 | 00 00 00 00 00 00 00 00 |..Shells|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 41 4c 46 | 41 01 00 00 00 00 00 00 |.TEXTALF|A.......|
|00000050| 00 00 00 00 00 07 d6 00 | 00 01 d0 a6 c5 59 db a6 |........|.....Y..|
|00000060| c5 59 db 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.Y......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f0 1f 00 00 |........|........|
|00000080| 0d 09 53 48 45 4c 4c 53 | 0d 09 0d 54 68 65 20 62 |..SHELLS|...The b|
|00000090| 61 73 69 63 20 69 64 65 | 61 20 6f 66 20 74 68 65 |asic ide|a of the|
|000000a0| 20 73 68 65 6c 6c 73 20 | 69 73 20 74 6f 20 70 72 | shells |is to pr|
|000000b0| 6f 76 69 64 65 20 61 6e | 20 69 6e 74 65 72 61 63 |ovide an| interac|
|000000c0| 74 69 76 65 20 77 61 79 | 20 74 6f 20 61 63 63 65 |tive way| to acce|
|000000d0| 73 73 20 0d 54 43 4c 2c | 20 69 74 20 69 73 20 2a |ss .TCL,| it is *|
|000000e0| 4e 4f 54 2a 20 69 6e 74 | 65 6e 64 65 64 20 74 6f |NOT* int|ended to|
|000000f0| 20 73 65 72 76 65 20 61 | 73 20 61 20 70 73 65 75 | serve a|s a pseu|
|00000100| 64 6f 2d 75 6e 69 78 2d | 73 68 65 6c 6c 2e 20 48 |do-unix-|shell. H|
|00000110| 6f 77 65 76 65 72 2c 20 | 49 20 0d 64 6f 6e 27 74 |owever, |I .don't|
|00000120| 20 75 73 65 20 4d 50 57 | 20 6f 72 20 41 55 2f 58 | use MPW| or AU/X|
|00000130| 20 61 6e 64 20 74 68 65 | 72 65 66 6f 72 65 20 49 | and the|refore I|
|00000140| 20 69 6d 70 6c 65 6d 65 | 6e 74 65 64 20 61 20 76 | impleme|nted a v|
|00000150| 65 72 79 20 66 65 77 20 | 75 73 65 66 75 6c 20 0d |ery few |useful .|
|00000160| 66 75 6e 63 74 69 6f 6e | 73 2e 20 41 6c 6c 20 70 |function|s. All p|
|00000170| 61 74 68 6e 61 6d 65 73 | 20 6d 75 73 74 20 62 65 |athnames| must be|
|00000180| 20 6d 61 63 20 70 61 74 | 68 6e 61 6d 65 73 2c 20 | mac pat|hnames, |
|00000190| 72 65 6c 61 74 69 76 65 | 20 70 61 74 68 6e 61 6d |relative| pathnam|
|000001a0| 65 73 20 73 74 61 72 74 | 20 0d 77 69 74 68 20 63 |es start| .with c|
|000001b0| 6f 6c 6f 6e 73 2c 20 61 | 62 73 6f 6c 75 74 65 20 |olons, a|bsolute |
|000001c0| 70 61 74 68 6e 61 6d 65 | 73 20 64 6f 6e 27 74 2e |pathname|s don't.|
|000001d0| 20 46 6f 72 20 69 6e 73 | 74 61 6e 63 65 2c 20 27 | For ins|tance, '|
|000001e0| 3a 66 69 6c 65 31 27 20 | 73 70 65 63 69 66 69 65 |:file1' |specifie|
|000001f0| 73 20 61 20 0d 66 69 6c | 65 20 6e 61 6d 65 64 20 |s a .fil|e named |
|00000200| 27 66 69 6c 65 31 27 20 | 69 6e 20 74 68 65 20 63 |'file1' |in the c|
|00000210| 75 72 72 65 6e 74 20 64 | 69 72 65 63 74 6f 72 79 |urrent d|irectory|
|00000220| 2e 20 27 3a 3a 66 69 6c | 65 32 27 20 73 70 65 63 |. '::fil|e2' spec|
|00000230| 66 69 65 73 20 61 20 66 | 69 6c 65 20 69 6e 20 0d |fies a f|ile in .|
|00000240| 74 68 65 20 70 61 72 65 | 6e 74 20 64 69 72 65 63 |the pare|nt direc|
|00000250| 74 6f 72 79 2c 20 61 6e | 64 20 27 3a 3a 3a 66 69 |tory, an|d ':::fi|
|00000260| 6c 65 33 27 20 69 73 20 | 61 20 66 69 6c 65 20 69 |le3' is |a file i|
|00000270| 6e 20 74 68 65 20 70 61 | 72 65 6e 74 27 73 20 70 |n the pa|rent's p|
|00000280| 61 72 65 6e 74 27 73 20 | 0d 64 69 72 65 63 74 6f |arent's |.directo|
|00000290| 72 79 2e 20 41 64 64 69 | 74 69 6f 6e 61 6c 6c 79 |ry. Addi|tionally|
|000002a0| 2c 20 68 69 74 74 69 6e | 67 20 74 68 65 20 74 61 |, hittin|g the ta|
|000002b0| 62 20 6b 65 79 20 77 2f | 20 61 20 70 61 72 74 69 |b key w/| a parti|
|000002c0| 61 6c 20 70 61 74 68 6e | 61 6d 65 20 0d 69 6e 76 |al pathn|ame .inv|
|000002d0| 6f 6b 65 73 20 61 20 66 | 69 6c 65 6e 61 6d 65 2d |okes a f|ilename-|
|000002e0| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 66 75 6e 63 74 |completi|on funct|
|000002f0| 69 6f 6e 20 74 68 61 74 | 20 74 72 69 65 73 20 74 |ion that| tries t|
|00000300| 6f 20 66 69 6c 6c 20 69 | 6e 20 74 68 65 20 72 65 |o fill i|n the re|
|00000310| 73 74 20 6f 66 20 0d 74 | 68 65 20 63 68 61 72 61 |st of .t|he chara|
|00000320| 63 74 65 72 73 20 6f 66 | 20 74 68 65 20 6e 61 6d |cters of| the nam|
|00000330| 65 2e 0d 0d 63 64 20 3c | 72 65 6c 61 74 69 76 65 |e...cd <|relative|
|00000340| 20 6f 72 20 61 62 73 6f | 6c 75 74 65 20 70 61 74 | or abso|lute pat|
|00000350| 68 6e 61 6d 65 3e 0d 09 | 43 68 61 6e 67 65 20 64 |hname>..|Change d|
|00000360| 69 72 65 63 74 6f 72 79 | 2e 20 50 61 74 68 6e 61 |irectory|. Pathna|
|00000370| 6d 65 73 20 6d 75 73 74 | 20 62 65 20 0d 63 70 20 |mes must| be .cp |
|00000380| 3c 66 69 6c 65 31 3e 20 | 3c 66 69 6c 65 32 3e 0d |<file1> |<file2>.|
|00000390| 09 6f 72 0d 63 70 20 3c | 66 69 6c 65 31 3e 20 2e |.or.cp <|file1> .|
|000003a0| 2e 2e 2e 20 3c 64 65 73 | 74 44 69 72 3e 0d 09 42 |... <des|tDir>..B|
|000003b0| 61 73 69 63 20 75 6e 69 | 78 20 66 75 6e 63 74 69 |asic uni|x functi|
|000003c0| 6f 6e 61 6c 69 74 79 2e | 20 4e 6f 74 20 72 65 63 |onality.| Not rec|
|000003d0| 75 72 73 69 76 65 2e 0d | 0d 6c 73 20 5b 2d 46 6c |ursive..|.ls [-Fl|
|000003e0| 5d 20 5b 3c 66 69 6c 65 | 3e 5d 2e 2e 2e 0d 09 54 |] [<file|>].....T|
|000003f0| 77 6f 2c 20 6d 75 74 75 | 61 6c 6c 79 20 65 78 63 |wo, mutu|ally exc|
|00000400| 6c 75 73 69 76 65 20 66 | 6c 61 67 73 2e 20 27 2d |lusive f|lags. '-|
|00000410| 46 27 20 6a 75 73 74 20 | 67 69 76 65 73 20 74 68 |F' just |gives th|
|00000420| 65 20 6e 6f 72 6d 61 6c | 20 64 69 73 70 6c 61 79 |e normal| display|
|00000430| 2c 20 77 69 74 68 20 0d | 09 61 20 27 2a 27 20 62 |, with .|.a '*' b|
|00000440| 65 68 69 6e 64 20 61 70 | 70 6c 69 63 61 74 69 6f |ehind ap|plicatio|
|00000450| 6e 73 20 61 6e 64 20 61 | 20 27 2f 27 20 62 65 68 |ns and a| '/' beh|
|00000460| 69 6e 64 20 64 69 72 65 | 63 74 6f 72 69 65 73 20 |ind dire|ctories |
|00000470| 28 66 6f 6c 64 65 72 73 | 29 2e 20 27 2d 6c 27 20 |(folders|). '-l' |
|00000480| 0d 09 70 72 65 73 65 6e | 74 73 20 61 20 6c 6f 6e |..presen|ts a lon|
|00000490| 67 20 6c 69 73 74 69 6e | 67 2c 20 69 6e 63 6c 75 |g listin|g, inclu|
|000004a0| 64 69 6e 67 20 73 69 7a | 65 73 20 6f 66 20 62 6f |ding siz|es of bo|
|000004b0| 74 68 20 66 6f 72 6b 73 | 2c 20 63 72 65 61 74 6f |th forks|, creato|
|000004c0| 72 2c 20 66 69 6c 65 20 | 0d 09 74 79 70 65 2c 20 |r, file |..type, |
|000004d0| 61 6e 64 20 6c 61 73 74 | 20 6d 6f 64 69 66 69 63 |and last| modific|
|000004e0| 61 74 69 6f 6e 20 74 69 | 6d 65 2e 20 27 70 72 6f |ation ti|me. 'pro|
|000004f0| 63 73 2e 74 63 6c 27 20 | 69 6e 63 6c 75 64 65 73 |cs.tcl' |includes|
|00000500| 20 66 75 6e 63 74 69 6f | 6e 73 20 27 6c 27 20 61 | functio|ns 'l' a|
|00000510| 6e 64 20 0d 09 27 6c 6c | 27 20 77 68 69 63 68 20 |nd ..'ll|' which |
|00000520| 73 65 72 76 65 20 61 73 | 20 6d 79 20 55 6e 69 78 |serve as| my Unix|
|00000530| 20 61 6c 69 61 73 65 73 | 20 74 6f 20 27 6c 73 20 | aliases| to 'ls |
|00000540| 2d 46 27 20 61 6e 64 20 | 27 6c 73 20 2d 6c 27 2e |-F' and |'ls -l'.|
|00000550| 0d 09 0d 6d 76 20 3c 66 | 69 6c 65 31 3e 20 3c 66 |...mv <f|ile1> <f|
|00000560| 69 6c 65 32 3e 0d 09 4d | 6f 76 65 73 20 61 20 66 |ile2>..M|oves a f|
|00000570| 69 6c 65 2c 20 70 6f 74 | 65 6e 74 69 61 6c 6c 79 |ile, pot|entially|
|00000580| 20 61 63 72 6f 73 73 20 | 76 6f 6c 75 6d 65 20 62 | across |volume b|
|00000590| 6f 75 6e 64 61 72 69 65 | 73 2e 20 4e 6f 74 20 72 |oundarie|s. Not r|
|000005a0| 65 63 75 72 73 69 76 65 | 2e 0d 09 0d 72 6d 20 3c |ecursive|....rm <|
|000005b0| 66 69 6c 65 3e 2e 2e 2e | 0d 09 52 65 6d 6f 76 65 |file>...|..Remove|
|000005c0| 73 20 66 69 6c 65 73 20 | 61 6e 64 20 65 6d 70 74 |s files |and empt|
|000005d0| 79 20 64 69 72 65 63 74 | 6f 72 69 65 73 2e 20 43 |y direct|ories. C|
|000005e0| 75 72 72 65 6e 74 6c 79 | 20 6e 6f 20 77 61 79 20 |urrently| no way |
|000005f0| 74 6f 20 72 65 63 75 72 | 73 69 76 65 6c 79 20 0d |to recur|sively .|
|00000600| 09 72 65 6d 6f 76 65 20 | 28 61 6c 74 68 6f 75 67 |.remove |(althoug|
|00000610| 68 20 79 6f 75 20 63 6f | 75 6c 64 20 63 6f 64 65 |h you co|uld code|
|00000620| 20 75 70 20 61 20 54 43 | 4c 20 70 72 6f 63 20 74 | up a TC|L proc t|
|00000630| 6f 20 64 6f 20 74 68 69 | 73 29 2e 0d 09 0d 0d 54 |o do thi|s).....T|
|00000640| 68 65 20 66 69 6c 65 20 | 22 73 68 65 6c 6c 2e 74 |he file |"shell.t|
|00000650| 63 6c 22 20 63 6f 6e 74 | 61 69 6e 73 20 54 63 6c |cl" cont|ains Tcl|
|00000660| 20 63 6f 64 65 20 69 6d | 70 6c 65 6d 65 6e 74 69 | code im|plementi|
|00000670| 6e 67 20 6d 75 63 68 20 | 6f 66 20 74 68 65 20 73 |ng much |of the s|
|00000680| 68 65 6c 6c 20 0d 69 6e | 74 65 72 66 61 63 65 2e |hell .in|terface.|
|00000690| 20 54 68 65 20 69 6e 74 | 65 72 66 61 63 65 20 63 | The int|erface c|
|000006a0| 6f 6e 74 61 69 6e 73 20 | 27 68 69 73 74 4e 65 78 |ontains |'histNex|
|000006b0| 74 27 20 61 6e 64 20 27 | 68 69 73 74 50 72 65 76 |t' and '|histPrev|
|000006c0| 27 20 28 62 6f 75 6e 64 | 20 74 6f 20 0d 63 6f 6e |' (bound| to .con|
|000006d0| 74 72 6f 6c 2d 70 20 61 | 6e 64 20 63 6f 6e 74 72 |trol-p a|nd contr|
|000006e0| 6f 6c 2d 6e 29 20 63 6f | 6d 6d 61 6e 64 73 20 74 |ol-n) co|mmands t|
|000006f0| 68 61 74 20 6c 65 74 20 | 79 6f 75 20 73 63 72 6f |hat let |you scro|
|00000700| 6c 6c 20 74 68 72 6f 75 | 67 68 20 70 72 65 76 69 |ll throu|gh previ|
|00000710| 6f 75 73 20 0d 63 6f 6d | 6d 61 6e 64 73 20 77 69 |ous .com|mands wi|
|00000720| 74 68 6f 75 74 20 72 65 | 74 79 70 69 6e 67 2e 20 |thout re|typing. |
|00000730| 55 6e 66 6f 72 74 75 6e | 61 74 65 6c 79 2c 20 69 |Unfortun|ately, i|
|00000740| 74 20 64 6f 65 73 6e 27 | 74 20 73 65 65 6d 20 70 |t doesn'|t seem p|
|00000750| 6f 73 73 69 62 6c 65 20 | 74 6f 20 0d 61 63 63 65 |ossible |to .acce|
|00000760| 73 73 20 74 68 65 20 70 | 72 65 76 69 6f 75 73 20 |ss the p|revious |
|00000770| 63 6f 6d 6d 61 6e 64 20 | 75 6e 74 69 6c 20 79 6f |command |until yo|
|00000780| 75 20 68 61 76 65 20 61 | 74 20 6c 65 61 73 74 20 |u have a|t least |
|00000790| 73 74 61 72 74 65 64 20 | 65 78 65 63 75 74 69 6e |started |executin|
|000007a0| 67 20 74 68 65 20 0d 6e | 65 78 74 2c 20 77 68 65 |g the .n|ext, whe|
|000007b0| 72 65 20 61 20 22 63 6f | 6d 6d 61 6e 64 22 20 68 |re a "co|mmand" h|
|000007c0| 65 72 65 20 6d 65 61 6e | 73 20 61 20 63 6f 6d 6d |ere mean|s a comm|
|000007d0| 61 6e 64 20 65 76 61 6c | 75 61 74 65 64 20 62 79 |and eval|uated by|
|000007e0| 20 74 68 65 20 73 68 65 | 6c 6c 2e 20 53 69 6e 63 | the she|ll. Sinc|
|000007f0| 65 20 0d 74 68 65 20 61 | 62 6f 76 65 20 63 6f 6d |e .the a|bove com|
|00000800| 6d 61 6e 64 73 20 61 72 | 65 20 69 73 73 75 65 64 |mands ar|e issued|
|00000810| 20 62 65 66 6f 72 65 20 | 79 6f 75 20 65 78 65 63 | before |you exec|
|00000820| 75 74 65 20 77 68 61 74 | 65 76 65 72 20 63 6f 6d |ute what|ever com|
|00000830| 6d 61 6e 64 20 79 6f 75 | 20 0d 63 68 6f 6f 73 65 |mand you| .choose|
|00000840| 20 6e 65 78 74 2c 20 79 | 6f 75 27 72 65 20 73 74 | next, y|ou're st|
|00000850| 75 63 6b 2e 0d 0d 00 00 | 00 00 00 00 00 00 00 00 |uck.....|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 01 00 00 00 01 8e | 00 00 00 8e 00 00 00 42 |........|.......B|
|00000890| 4c 45 07 90 0d 74 00 00 | 06 46 44 42 4e 47 4c 00 |LE...t..|.FDBNGL.|
|000008a0| 00 00 0d 82 00 00 06 46 | 44 42 4e 4c 45 00 00 00 |.......F|DBNLE...|
|000008b0| 06 53 68 65 6c 6c 73 b4 | 02 00 00 00 54 45 58 54 |.Shells.|....TEXT|
|000008c0| 41 4c 46 41 01 00 00 50 | 2f a8 00 00 00 00 60 37 |ALFA...P|/.....`7|
|000008d0| 00 00 54 45 58 54 41 4c | 46 41 01 00 00 50 2f a8 |..TEXTAL|FA...P/.|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 a6 c5 21 9b 00 00 | 07 d6 00 00 01 d0 46 00 |....!...|......F.|
|00000900| 00 00 0d f2 00 01 07 46 | 54 52 41 50 45 51 00 00 |.......F|TRAPEQ..|
|00000910| 0e 0e 00 01 08 46 54 52 | 41 50 4f 47 54 00 07 42 |.....FTR|APOGT..B|
|00000920| 0e 2a 00 01 08 46 54 52 | 41 50 4f 47 45 00 00 00 |.*...FTR|APOGE...|
|00000930| 0e 46 00 01 08 46 54 52 | 41 50 4f 4c 54 00 00 00 |.F...FTR|APOLT...|
|00000940| 0e 62 00 01 08 46 54 52 | 41 50 4f 4c 45 00 07 34 |.b...FTR|APOLE..4|
|00000950| 0e 7e 00 01 08 46 54 52 | 41 50 4f 47 4c 00 00 00 |.~...FTR|APOGL...|
|00000960| 0e 9a 00 01 07 46 54 52 | 41 50 4f 52 00 00 0e b6 |.....FTR|APOR....|
|00000970| 00 01 07 46 54 52 41 50 | 55 4e 00 00 0e d2 00 01 |...FTRAP|UN......|
|00000980| 00 00 00 3e 00 05 00 00 | 02 b4 00 00 02 b4 03 63 |...>....|.......c|
|00000990| 64 00 00 00 02 fd 00 00 | 02 fd 03 63 70 00 00 00 |d.......|...cp...|
|000009a0| 03 59 00 00 03 59 03 6c | 73 00 00 00 04 d3 00 00 |.Y...Y.l|s.......|
|000009b0| 04 d3 03 6d 76 00 00 00 | 05 2c 00 00 05 2c 03 72 |...mv...|.,...,.r|
|000009c0| 6d 00 00 00 00 48 00 09 | 4d 6f 6e 61 63 6f 00 94 |m....H..|Monaco..|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 6b 00 67 df d2 |........|...k.g..|
|000009e0| 00 68 33 aa 00 00 00 00 | 00 04 00 04 00 28 00 03 |.h3.....|.....(..|
|000009f0| 01 dd 01 fd 00 28 00 03 | 01 dd 01 fd 00 05 1f 40 |.....(..|.......@|
|00000a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|00000a10| 01 00 00 00 01 8e 00 00 | 00 8e 00 00 00 42 00 58 |........|.....B.X|
|00000a20| e3 20 06 9e 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |. ......|.>..MPSR|
|00000a30| 00 01 00 0a 03 ef 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a40| 03 ed ff ff 00 00 00 42 | 00 59 7b 8c 03 74 61 62 |.......B|.Y{..tab|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+